@charset "utf-8";
#nav{
	height: 50px;
	width: 100%;
	background-color: black;
}

ul{
	padding: 0px;
	margin: 0px;
}
#link{
	background-color: black;
	width: 55%;
	height: 50px;
	float: right;
	line-height: 50px;
}
#link li{
	list-style:none;
	float: left;
	text-align: center;
	width: 90px;
}
#link li a{
	color: white;
	text-decoration: none;
	display: block;
}
#link li a:hover{
	background-color: olive;
}
#photo{
	background-color:  gainsboro ;
	width: 82%;
	height: 180px;
	margin-top:20px;
	margin-left: 140px;
}
.img {
	width: 31%;
	height: 180px;
	margin-top: 0px;
	margin-right: 18px;
	border-radius: 10px;
	float: left;
}
.img p{
	display: block;
	width: 100%;
	height: 30px;
	background-color: black;
	color: white;
	text-align: center;
	position: relative;
	bottom: -120px;
}
/*以上为导航栏*/

/*以下为中间部分*/
#section{
	background-color:gainsboro ;
	width: 80%;
	height: 1900px;
	margin-top:20px;
	margin-left: 140px;
}
/*推荐样式*/
#recommend{
	width: 70%;
	height: 700px;
	background-color:  white;
	float: left;
	border-radius: 10px;
}
#table{
	width: 100%; 
	height: 50px;
	border-bottom: black 3px solid;
}
#table div{
	float: right;
	height: 37px;
	margin-top: 13px;
}
#table h3{
	display: inline-block;
	padding: 0px;
	margin:0px;
	margin-top: 12px;
	margin-left: 5px;
	font-size: 20px;
	width: 20%;
}
#table div a{
	display: block;
	float: right;
	margin-right: 10px;
}
#table div a:after{ /*斜杠*/
 	content: '';
 	display: block;
 	width: 1px;
 	height: 15px;
 	background: black;
 	transform: rotate(45deg);
 }
#table div a:last-child{
	margin-right: 20px;
}
#recommend li{
 	font-size: 15px;
 	list-style: none;
 	display: inline-block;
 	width: 33%;
 	height: 320px;
 	border: hidden;
 	border-top: 1px gainsboro solid;
 	border-right: 1px gainsboro solid;
 	float: left;
 }
 #recommend li:nth-child(1){
 	border-top:hidden;
 }
  #recommend li:nth-child(2){
 	border-top:hidden;
 }
  #recommend li:nth-child(3){
  	border-top:hidden;
 	border-right:hidden;
 }
  #recommend li:nth-child(6){
 	border-right:hidden;
 }
 #recommend li img{
 	width: 80%;
 	height: 120px;
 	border-radius: 7px;
 	margin-left: 25px;
 	margin-top: 10px;
 }
 #recommend li b{
 	display: block;
 	width: 100%;
 	height: 25px;
 	line-height: 25px;
 	margin: 10px;
 	white-space: nowrap;
 	text-overflow: ellipsis; 
 	overflow: hidden; 
 }
 
 #recommend li span{
    overflow: hidden;
 	text-overflow: ellipsis;
    display: -webkit-box;
    width: 95%;
    margin: 5px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
 }
 .readmore{
 	margin: 15px;
 	float: right;
 }
/*最新阅读样式*/
#reading{
	margin-top: 20px;
	width: 100%;
	height: 1000px;
	background-color:  white;
	float: left;
	border-radius: 10px;
}
#new{
	font-size: 20px;
	font-weight: 600;
	font-family:"微软雅黑";
	padding:10px;
	padding-bottom: 5px;
	border-bottom: black 3px solid;
}
#reading ul{
	padding: 0 10px;
}

#reading li{
	font-size: 15px; 
	padding-top: 20px;
	display: block;
	border-bottom: gainsboro 2px solid;
	list-style: none;
	width: 100%;
	height: 300px;
	background-color: white;
}
#reading li:last-child{
	font-size: 15px;
	padding-top: 20px;
	display: block;
	list-style: none;
	width: 100%;
	height: 300px;
	background-color: white;
}
.photo{
	display: inline-block;
	height: 120px;
	margin-right: 10px;
	border-radius: 10px;
	float: left;
}
#reading li b:hover {
 	cursor: pointer;
 }

#reading li b{
	display: block;
 	font-size: 18px; 
 	margin-bottom: 15px;"
 }
#reading li span{
	display: inline-block;
	font-family:"微软雅黑";
	color: midnightblue;
	display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden; 
	
	float: right;
}
a{
	text-decoration: none;
	color: olivedrab;
}
.inf{
	width: 100%;
	height: 40px;
	float: left;
}
.more{
	float: right;
}


/*关于我样式*/
#personal{
	margin-top: 20px;
	height: 350px;
	background-color:  white;
	float: right;
	
	border-radius: 10px;
}
#personal img{
	margin-top: 20px;
	margin-left: 30%;
	margin-bottom: 15px;
	width: 40%;
	border-radius: 100%;
	float: left;
}
.line{
	 display:inline-block;
     width:28%;
     border-top:3px solid black;
     vertical-align:-5px;
    margin: 10px;
    margin-top: 30px;
}
.txt{
	font-size: 20px;
	font-weight: 600;
}
.info{
	display: block;
	width: 90%;
	height: 30px;
	background-color: white;
	margin-top: 5px;
	margin-right: 15px;
	border-radius: 5px;
	float: right;
	text-indent: 10px;
}
#box{
	margin: 20px;
}
#box input{
	 width: 63%;
 	 height: 26px;
	 margin-top: 10px;
	 margin-left: 12px;
	 float: left;
	 background-color: whitesmoke;
	 border-top-left-radius: 5px;
	 border-bottom-left-radius: 5px;
	 border: 1px solid #DCDEE0;
	 font-size:15px
}
#button{
		width: 22%;
        height: 30px;
        float: right;
        background: black;
        color: white;
        margin-right: 20px;
        margin-top: 10px;
        text-align: center;
        line-height: 29px;
        font-size: 15px;
        cursor: pointer;
        border-top-right-radius: 5px;
	    border-bottom-right-radius: 5px;
}
/*友情链接样式*/
#search{
	height: 90px;
	background-color:  white;
	float: right;
	width: 100%;
	margin-top: 10px;
	border-radius: 10px;
	}
/*排行样式*/
#rank{
	height: 535px;
	background-color:  white;
	float: right;
	
	margin-top: 10px;
	border-radius: 10px;
}

#rank li{
	font-size: 15px; 
	margin: 10px;
	display: block;
	border-bottom: gainsboro 2px solid;
	list-style: none;
	width: 95%;
	height: 90px;
	background-color: white;
}
#rank li 
#rank li b:hover {
 	cursor: pointer;
 }

#rank li b{
	display: block;
 	margin-bottom: 13px;"
 }
 #rank img{
 	 height: 120px;
 	 width: 100%;
 	 margin-top: 13px;
 	 border-bottom-left-radius: 7px;
 	 border-bottom-right-radius: 7px;
 }
/*友情链接样式*/
#friendly{
	width: 28%;
	height: 250px;
	background-color:  white;
	float: right;
	margin-right: 10px;
	margin-top: 10px;
	border-radius: 10px;
}
#friendly div{
	margin: 20px 40px;
	width: 70%;
	height: 30px;
	background-color: whitesmoke;
	text-align: center;
	line-height: 30px;
	border: #000000 1px solid;
	border-radius: 7px;
}
/*微信样式*/
#wechat{
	width: 28%;
	height: 350px;
	background-color: white;
	float: right;
	margin-right: 10px;
	margin-top: 10px;
	border-radius: 10px;
}
#last{
	width: 100%;
	height: 60px;
	background-color: black;
	text-align: center;
	line-height: 60px;
	color: white;
}
